home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / apps / 630 / gemgs.rc < prev    next >
Text File  |  1992-09-05  |  4KB  |  99 lines

  1. #
  2. # Example setup file for gemGS.
  3. #
  4. # The format for the setup commands is currently very strict, so
  5. # pay close attention to the precise form. Never use more than
  6. # a single space, and don't use any tabs.
  7. #
  8. # Any line which cannot be recognized is ignored, but I have
  9. # conventionally used a '#' to denote a comment.
  10. #
  11.  
  12. # Set default device. This overrides the GS_DEVICE environment
  13. # variable. If this is missing, the default is the stvdi device.
  14. # The device name must match name that GS knows for the device.
  15. # To see what devices are installed, type gs -?.
  16. # Format is "device gs_device_name".
  17.  
  18. device stvdi
  19.  
  20. # Set gemGS to autorun. When autorun is set to 1, gemGS will immediately
  21. # run GS on the input file, ignoring the 'confirm' option if it is set.
  22. # If there is no input file, the autorun variable is ignored and gemGS
  23. # runs interactively. This allows PostScript files to be immediately
  24. # displayed with gemGS by simply double-clicking on the file. Of course,
  25. # you must install gemGS as an desktop application first.
  26.  
  27. autorun 1
  28.  
  29. # Set the default options.
  30. # Format for on/off options is "option_name 1/0".
  31.  
  32. #confirm 1
  33. #quiet 0
  34. nopause 0
  35. #autoquit 1
  36. windows 1
  37.  
  38. # Format for other options is "option_name option_string".
  39.  
  40. #resolution 60
  41. #geometry 400x400
  42. #clist 150000
  43.  
  44. # Set environment variables. PATH is used in searching for GS
  45. # and for tools. GS_DEVICE is the default device if the "device"
  46. # command appears nowhere in this file. GS_LIB is the path that
  47. # GS searches for ps files, fonts, etc.
  48.  
  49. setenv PATH=c:\bin,f:\gs
  50. #setenv GS_DEVICE=deskjet
  51. setenv GS_LIB=f:\gs,f:\gs\ps,f:\gs\fonts
  52.  
  53. # Add devices to the device menu. The device name must match the
  54. # Ghostscript name for the device. Type 'gs -h' to see which
  55. # devices are available in the GS executable that you have.
  56. # Format is "devmenu gs_device_name".
  57.  
  58. devmenu deskjet
  59. devmenu epson
  60. devmenu paintjet
  61.  
  62. # Add resolutions to the resolution menu. The default screen
  63. # resolution is 80dpi. All resolution entries are in dots-per-inch.
  64. # The resolution string should be whatever comes after the GS
  65. # -r command line switch. It is up to you to specify a resolution
  66. # that the given device can handle.
  67. # Format is "resmenu resolution_string".
  68.  
  69. resmenu 60
  70. resmenu 100
  71. resmenu 120x60
  72.  
  73. # Add tools to the tool menu. These can be GEM, TOS, or TTP programs.
  74. # PATH will be searched for any program specified. If the program
  75. # is not in the specified PATH environment variable, the full program
  76. # name must be given. The following special keywords are recognized
  77. # by gemGS as command line options for tool menu entries:
  78. #
  79. # infile:    substitute the input file in the position of this keyword,
  80. # outfile:    substitute the output file in the position of this keyword,
  81. # fsel:        present a file selector, put the selection in this position,
  82. # dialog:    present a dialog with an editable text string, input here,
  83. # pause:    pause after tool terminates before redrawing screen,
  84. # gem:        specifies that program is a GEM program so that screen
  85. #            and mouse are handled properly.
  86. #
  87. # Format is "toolmenu menu_string program_name [command line options]"
  88.  
  89. toolmenu gemGS-Help ue gemgs.doc
  90. toolmenu GS-Help ue f:\gs\doc\use.doc
  91. toolmenu Edit-File ue dialog
  92. toolmenu Edit-Input ue infile
  93. toolmenu Print-Output bpr outfile
  94. toolmenu TeXdvi-to-PS dvips fsel
  95. toolmenu Dega-to-PS psst gem
  96. toolmenu Shell gulam
  97. toolmenu Directory ls -l pause
  98. toolmenu DiskSpace df c: d: e: f: g: h: pause
  99.